/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.star.common;

/**
 *
 * @author Administrator
 */
public class Re_Post_NewsCate_Data {
    String id;
    String idPost;
    String idNewsCate;    
    long created;

    public Re_Post_NewsCate_Data(){
        idPost = "";
        idNewsCate = "";
        created = 0;                
    }
    
    // contructor for add new
    public Re_Post_NewsCate_Data(String idPost, String idNewsCate){        
        this.idPost = idPost;
        this.idNewsCate = idNewsCate;
        this.created = System.currentTimeMillis();
    }
    
    public Re_Post_NewsCate_Data(String id, String idPost, String idNewsCate){
        this.id = id;
        this.idPost = idPost;
        this.idNewsCate = idNewsCate;
    }
    
    public Re_Post_NewsCate_Data(String id, String idPost, String idNewsCate, long created){
        this.id = id;
        this.idPost = idPost;
        this.idNewsCate = idNewsCate;
        this.created = created;
    }
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIdPost() {
        return idPost;
    }

    public void setIdPost(String idNews) {
        this.idPost = idNews;
    }

    public String getIdNewsCate() {
        return idNewsCate;
    }

    public void setIdNewsCate(String idNewsCate) {
        this.idNewsCate = idNewsCate;
    }

    public long getCreated() {
        return created;
    }

    public void setCreated(long created) {
        this.created = created;
    }
    
    
}
